package com.lagou.service.impl;

import com.lagou.dao.UserDao;
import com.lagou.service.UserService;

/**
 * @author Roger
 * @date 2020/8/12 22:40
 * @description
 */
public class UserServiceImpl implements UserService {
    private UserDao userDao;

    /*public UserServiceImpl(UserDao userDao1) {
        this.userDao = userDao1;
    }*/

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void save() {
        userDao.save();
    }
}
